/*
   ============================================================================
   Name        : fCanvasManager.h
   Author      : Nicky
   Version     :
   Copyright   : Nicky
   Description : fCanvasManager declaration
   ============================================================================
 */

#ifndef fCANVASMANAGER_H
#define fCANVASMANAGER_H

#define KSTANDTIMELENGTH 14

class fEngine;
#include "fCanvas.h"
class fCanvasManager : public CBase, public MCanvasManager
{
public:
    fCanvasManager( fEngine* aFramework );
    virtual ~fCanvasManager();
public:
    void ChangeCanvas( int aCanvasIndex, const TDesC& aCommandline, void* data );
    void GoBackCanvas( );
public:
    fControlBase* GetTopMostCtl();
    fControlBase* GetCurrentCtl();
public:
	virtual void DoChangeCanvas(int aCanvasIndex, const TDesC& aCommandline, void* _data);
	virtual void DeleteCanvas( fCanvas*canvas );
protected:
    fEngine* iFramework;
    fCanvas* iCurrentCanvas;
};
#endif // fCANVASMANAGER_H

